Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rust: add evmc-client binding #640

Draft
wants to merge 15 commits into
base: evmc-loader
Choose a base branch
from
Draft

rust: add evmc-client binding #640

wants to merge 15 commits into from

Conversation

axic
Copy link
Member

@axic axic commented May 6, 2022

This is a copy of #527.

@axic axic changed the base branch from master to rust-host-context May 6, 2022 18:48
@axic axic force-pushed the rust-binding-client branch 2 times, most recently from 908c356 to 0d69d10 Compare May 21, 2022 13:58
@codecov
Copy link

codecov bot commented May 21, 2022

Codecov Report

Merging #640 (34a5f67) into evmc-loader (c16008b) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           evmc-loader     #640   +/-   ##
============================================
  Coverage        92.86%   92.86%           
============================================
  Files               23       23           
  Lines             3546     3546           
  Branches           375      375           
============================================
  Hits              3293     3293           
  Misses             144      144           
  Partials           109      109           

Base automatically changed from rust-host-context to master May 22, 2022 22:45
@axic axic changed the base branch from master to evmc-loader June 1, 2022 10:42
CaptainVincent and others added 15 commits June 1, 2022 13:26
1. remove duplicate types
2. add an alias type Capabilities in evmc-vm
Refine this module make it more like geth client binding implementation.
1. A global static variable requires static lifetime.
2. Box with a trait object requires static lifetime.

Avoid host context contain a outside variable with conflict lifetime issue.

# Conflicts:
#	bindings/rust/evmc-client/src/host.rs
#	bindings/rust/evmc-client/src/lib.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants